<?xml version='1.0' encoding='UTF-8' ?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml"
      xmlns:h="http://java.sun.com/jsf/html"
      xmlns:ui="http://java.sun.com/jsf/facelets">

    <ui:composition template="/template.xhtml">
        <ui:define name="content">
            <br></br><br></br>
            <center>
                <h:form>
                    <table width="535px" height="330px" cellpadding="15" cellspacing="0" class="tableBordaDupla" style="background-image:url('imagens/bg_loveprog_login.png'); border-style: double;" >
                        <tr>
                            <td height="40%">&nbsp;</td>
                        </tr>
                        <tr>
                            <td width="50%">&nbsp;</td>
                            <td valign="right">
                                <table>
                                    <tr>
                                        <td>
                                            <h:outputLabel value="Login:"/> &nbsp;
                                        </td>
                                        <td>
                                            <h:inputText value="#{UsuarioMB.usuario.login}"/>
                                        </td>
                                    </tr>
                                    <tr>
                                        <td>
                                            <h:outputLabel value="Senha:"/>
                                        </td>
                                        <td>
                                            <h:inputText value="#{UsuarioMB.usuario.senha}"/>
                                        </td>
                                    </tr>
                                    <tr>
                                        <td>
                                            <h:commandButton value="Entrar" action="#{UsuarioMB.logarSistema}"/>
                                        </td>
                                        <td>
                                            <h:commandButton value="Limpar" type="reset"/>
                                        </td>
                                    </tr>
                                </table>
                            </td>
                        </tr>
                    </table>
                </h:form>
            </center>
        </ui:define>
    </ui:composition>
</html>

